const myName = "zhangsan";
const age = 18;
const s = "school";
const symbol = Symbol("name");
let change = function () {};

const obj = {
  myName, // 属性简写
  [s]: "清华", // school: '清华大学',
  [symbol]: "symbol",
  age,
  change,
  getName() {
    return this.myName; // 函数简写
  },
};
